import { RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
  {
    path: '/',
    name: 'CHome',
    component: () => import('../../views/client/Home.vue')
  },
  {
    path: 'about',
    name: 'CAbout',
    component: () => import('../../views/client/About.vue')
  },
  {
    path: 'welfare',
    name: 'CWelfare',
    component: () => import('../../views/client/Welfare.vue')
  },
  {
    path: 'contact',
    name: 'CContact',
    component: () => import('../../views/client/Contact.vue')
  },
  {
    path: 'news',
    name: 'CNews',
    component: () => import('../../views/client/News.vue')
  },
  // 文章详情
  {
    path: 'article/:id',
    name: 'CNewsCarticle',
    component: () => import('../../views/client/ArticleID.vue')
  }
]

export default routes
